package com.ruoyi.system.Fdongbei.service.impl;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.Fdongbei.domain.TbSuoshugongsi;
import com.ruoyi.system.Fdongbei.mapper.TbSuoshugongsiMapper;
import com.ruoyi.system.Fdongbei.service.ITbSuoshugongsiService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.xml.crypto.Data;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author fufeng
 * @since 2024-12-18
 */
@Service
public class TbSuoshugongsiServiceImpl  implements ITbSuoshugongsiService {

    @Resource
    TbSuoshugongsiMapper tbSuoshugongsiMapper;

    @DataSource(value = DataSourceType.LY002_D)
    public int insertTbsuoshugongsi(TbSuoshugongsi tbsuoshugongsi){
        return tbSuoshugongsiMapper.insertTbsuoshugongsi(tbsuoshugongsi);
    }


    @DataSource(value = DataSourceType.LY002_D)
    public int deletessgsbyczbh(String czbh){
        return tbSuoshugongsiMapper.deletessgsbyczbh(czbh);
    }







}
